import App from "../App";
import Home from "../pages/home";
import Login from "../pages/login";
import {createBrowserRouter} from 'react-router-dom'

export const router = createBrowserRouter([
  {
    path: "/",
    element: <App></App>,
     children:[
        {
            index:true,
            element:<Home></Home>
        },
        {
            path:"home",
            element:<Home></Home>
        }
     ]
  },
  {
    path:"/login",
    element:<Login></Login>
  }
]);